package com.yuma.jol;


import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.openjdk.jol.info.ClassLayout;

public class NoLockTest {

    public static void main(String[] args) {
        User user = new User();
//        System.out.println(user.hashCode());
        System.out.println(ClassLayout.parseInstance(user).toPrintable());
    }

    @Data
    public static class User {
        private String userName;
    }
}
